/**
 * 服务器配置
 */
const server = {
  hostname: "https://api.jiuwusan.cn/csticketingapi",
  apiPrefix: "https://api.jiuwusan.cn/csticketingapi",
  filePrefix: "https://api.jiuwusan.cn/csticketingapi",
  socket: {
    path: "/csticketingapi/socket.io",
    namespace: "https://api.jiuwusan.cn/websocket"
  },
  miniType: "?servertype=wx"
}

//上传接口
const upload = {
  file: server.hostname + "/common/upload/img" + server.miniType,
  img: server.hostname + "/common/upload/img" + server.miniType
}

//主要用于控制系统功能发布
const openFunctions = {
  "test01": true
};

const style = {
  pageBg: "https://api.jiuwusan.cn/public/uploads/2020222/ad331564ac7244e8dad5955a57772a06.png"
}

module.exports = {
  server,
  upload,
  openFunctions,
  style
}